package com.pan.hisystem.mapper;

import com.pan.hisystem.pojo.PatientTest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qingyang
 * @since 2022-04-02
 */
@Repository
public interface PatientTestMapper extends BaseMapper<PatientTest> {

    /**
     * 根据化验id获取化验信息
     * @param id
     * @return
     */
    PatientTest getTestMes(Integer id);

    /**
     * 根据卡号获取化验结果
     * @param mid
     * @return
     */
    PatientTest getTestResultByMid(String mid);
}
